export default {
  data() {
    return {
      rules: {
        user_phone: [
          { required: true, message: '手机号不能为空', trigger: 'blur' },
          { validator: this.$_.isPhone, message: '请输入正确的手机号', trigger: 'blur' }
        ],
        password: [
          { required: true, message: '请输入密码', trigger: 'blur' },
          { min: 6, message: '请输入最少长度为6的密码', trigger: 'blur' }
        ]
      }
    }
  },
}